package model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the m_obat database table.
 * 
 */
@Entity
@Table(name="m_obat")
public class MObat implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private int harga;
	private int hargaJual;
	private String jenis;
	private int jumlah;
	private String satuan;
	private String unit;

	public MObat() {
	}


	@Id
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public int getHarga() {
		return this.harga;
	}

	public void setHarga(int harga) {
		this.harga = harga;
	}


	@Column(name="harga_jual")
	public int getHargaJual() {
		return this.hargaJual;
	}

	public void setHargaJual(int hargaJual) {
		this.hargaJual = hargaJual;
	}


	public String getJenis() {
		return this.jenis;
	}

	public void setJenis(String jenis) {
		this.jenis = jenis;
	}


	public int getJumlah() {
		return this.jumlah;
	}

	public void setJumlah(int jumlah) {
		this.jumlah = jumlah;
	}


	public String getSatuan() {
		return this.satuan;
	}

	public void setSatuan(String satuan) {
		this.satuan = satuan;
	}


	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

}